﻿namespace Simple.Repository.Models.Conversation
{
    public class ConversationRecord : BusinessEntityBase<Guid>
    {
        /// <summary>
        /// 会话Id
        /// </summary>
        public Guid ConversationId { get; set; }

        /// <summary>
        /// 会话内容
        /// </summary>
        [MaxLength(2000)]
        public string? Content { get; set; }

        /// <summary>
        /// 发送人
        /// </summary>
        public Guid Sender { get; set; }

        /// <summary>
        /// 是否已读
        /// </summary>
        public bool IsRead { get; set; }
    }
}
